package Demo01;

/**
 * @ClassName User
 * @Description TODO
 * @Author 李明忠
 * @Date 2025/5/4 23:25
 * @Version 1.0
 */
public class User implements Cloneable{
    protected int age;

    public User() {
    }

    public User(int age) {
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    protected void fun(){
        System.out.println("sij ");
    }
//    @Override
//    protected Object clone() throws CloneNotSupportedException {
//        return super.clone();
//    }
}
